import request from "@/utils/request";
import request1 from "../../utils/request1";
//导出在保证明
export function exportProve(id){
  return request({
    url: '/insurance/insureEli/exportProve/' + id,
    method: 'get',
  })
}
//查看在保证明的数据
export function getExistInsureNoList(query){
  return request({
    url: '/insurance/insureEli/getExistInsureNoList',
    method: 'get',
    params: query
  })
}
//查看在保证明的数据
export function getExistInsureNoList1(query){
  return request1({
    url: '/Totalusercount/getExistInsureNoList',
    method: 'get',
    params: query
  })
}
// 导出在保证明所有数据
export function batchExportProve(ids) {
  return request({
    url: '/insurance/insureEli/batchExportProve/?ids='+ids,
    method: 'get',
    responseType: "blob",
    headers:{
      "Content-Type":"application/json; application/octet-stream"
    }
    // params: query
  })
}
export function insure_export(ids) {
  return request1({
    url: '/Insurance/insure_exports',
    method: 'get',
   params:ids
    // params: query
  })
}
//查询实际用工单位
export function  get_insure_company(query) {
  return request1({
    url: '/Insurance/get_insure_company',
    method: 'get',
    params:query
  })
}

